package aoptest.schema1;

import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

import aoptest.WorkerBean;

public class ProfilingExample {
	public static void main(String[] args) {
		ApplicationContext ac = new ClassPathXmlApplicationContext("aoptest/schema1/beans.xml");
		WorkerBean bean = (WorkerBean) ac.getBean("workerBean");
		bean.doSomeWork1(10000000);
		bean.doSomeWork2(10000000);
	}
	
}
